/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.impl;
import model.*;

import java.io.InputStream;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author juli
 */
public class RoomMysqlImpl implements Room {
    private int key;
    private String name;
    private String place;
    private int capacity;
    private String properties;

    public RoomMysqlImpl() {
        name = "";
        place = "";
        capacity = 0;
        properties = "";
    }

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key=key;
    }
    
    public String getName() {
        return name;
    }

    public String getPlace() {
        return place;
    }
    
    public int getCapacity() {
        return capacity;
    }
    /*MODIFICANDO*/
    public String getProperties() {
        return properties;  
    }


    public void setName(String name) {
        this.name = name;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }
    
     public void setProperties(String prop) {
       properties=prop;  
    }
}
